<?php

use think\facade\Route;

//miss路由，定义404
Route::miss(function () {
    @header("http/1.1 404 not found");
    @header("status: 404 not found");
    exit();
});

Route::get('', 'index/index');

//支付回调
Route::group('callback', function () {
    Route::get('/autoOssBackup', 'Callback/autoOssBackup');
    Route::get('/statistics', 'Callback/statistics');
    Route::get('/autoRelease', 'Callback/autoRelease');
    Route::get('/autoDirect', 'Callback/autoDirect');
});